package mh.demo.other.jackson;

import com.fasterxml.jackson.annotation.JsonGetter;

public class JsonGettterMyBean {

    private int id;
    private String name;

    public JsonGettterMyBean(int id, String name) {
        this.id = id;
        this.name = name;
    }
    
    public int getId() {
        return id;
    }

    @JsonGetter("name")
    public String getTheName() {
        return name;
    }

}
